home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-11 | 1.1 KB | 51 lines | [TEXT/CWIE] |
- // CAboutDialog.h -- dialog class
-
- #pragma once
-
- #include <LGADialog.h>
-
- class LStream;
-
- class LPushButton;
- class LStaticText;
-
-
- //----------
- class CAboutDialog : public LGADialog {
- public: // these comprise the programming interface for using the dialog
- static CAboutDialog* CreateAboutDialog (LCommander* inSuperCommander,
- CommandT inCommand);
-
- // these functions will be obsoleted
- // retained only for backwards compatibility
-
- public: // these comprise the implementation
- enum { class_ID = 'Abog' };
-
- CAboutDialog (LStream* inStream);
- virtual ~CAboutDialog();
-
- virtual void ListenToMessage (MessageT inMessage,
- void *ioParam);
-
- virtual Boolean ObeyCommand (CommandT inCommand,
- void *ioParam = nil);
- virtual void FindCommandStatus (CommandT inCommand,
- Boolean &outEnabled,
- Boolean &outUsesMark,
- Char16 &outMark,
- Str255 outName);
-
- protected:
- static void RegisterClass();
- virtual void FinishCreateSelf();
- virtual void DataChanged (long inDataID);
-
- protected:
- static Boolean sIsRegistered;
- CommandT mCommand;
-
- LPushButton* mOKButton;
-
- };
-